<%--
  Created by IntelliJ IDEA.
  User: pidan
  Date: 2021/3/16
  Time: 15:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<div style="text-align: center">
    <form action="${pageContext.request.contextPath}/LoginServlet" method="post" id="loginForm">
        账户：<input type="text" name="username"> <br>
        密码：<input type="password" name="password"><br>
        <span id="msg" style="color: #ff0000;font-size: 12px">${msg}</span>
        <button type="submit" id="loginBtn">登录</button>
        <button type="button">注册</button>
    </form>
    <hr>
    <span>${error_msg}</span>
</div>
</body>

</html>
